package com.wanxi.springboot.team.manage.system.mapper;

import com.wanxi.springboot.team.manage.system.api.CommonResult;
import com.wanxi.springboot.team.manage.system.model.DailySummary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 蒋帆
 * @since 2020-12-21
 */
public interface DailySummaryMapper extends BaseMapper<DailySummary> {

    int addSummary(DailySummary dailySummary);

    List<DailySummary> getDailySummary(Map map);

    long getDailySummaryCount(Map map);

    int editSummary(DailySummary dailySummary);

    int readSummary(Integer dailySummary);

    List<DailySummary> getSelfDailySummary(Map map);

    long getSelfDailySummaryCount(Map map);
}
